package com.financial.business.yspay.service.asyn.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.financial.business.yspay.dao.asyn.FinancialPayAsyncDao;
import com.financial.business.yspay.domain.asyn.FinancialPayAsyncDO;
import com.financial.business.yspay.service.asyn.FinancialPayAsyncService;



@Service
public class FinancialPayAsyncServiceImpl implements FinancialPayAsyncService {
	@Autowired
	private FinancialPayAsyncDao financialPayAsyncDao;
	
	@Override
	public FinancialPayAsyncDO get(Integer id){
		return financialPayAsyncDao.get(id);
	}
	
	@Override
	public List<FinancialPayAsyncDO> list(Map<String, Object> map){
		return financialPayAsyncDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return financialPayAsyncDao.count(map);
	}
	
	@Override
	public int save(FinancialPayAsyncDO financialPayAsync){
		return financialPayAsyncDao.save(financialPayAsync);
	}
	
	@Override
	public int update(FinancialPayAsyncDO financialPayAsync){
		return financialPayAsyncDao.update(financialPayAsync);
	}

}
